package cn.example.demo.modules.house.entity;

import cn.example.demo.common.db.pojo.entity.BaseEntity;
import cn.example.demo.common.tools.obj.reflect.FieldAlias;
import cn.example.demo.common.tools.obj.reflect.Immutable;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 描述：【餐饮】实体类
 */
@FieldNameConstants
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Meals extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Immutable
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @FieldAlias("ID")
    private String id;

    @FieldAlias("名称")
    private String title;

    @FieldAlias("示例图片")
    private String mealImageUrl;

    @FieldAlias("价格")
    private BigDecimal price;

    @FieldAlias("数量")
    private Integer count;

    @FieldAlias("主要材料")
    private String material;

    @FieldAlias("食物来源")
    private String source;

    @FieldAlias("许可证")
    private String admissionImageUrl;

    @FieldAlias("餐饮状态")
    private Integer mealStatus;

}
